package com.ihr360.cnb.module.insurance.service;

import com.ihr360.commons.vo.PageData;
import com.ihr360.insurance.entity.request.StaffBenefitRequest;
import com.ihr360.insurance.entity.vo.StaffBenefitVo;

import java.util.List;

/**
 * @author Stone.Shi
 * @description
 * @date 2018-05-23 10:51:48.
 */
public interface StaffBenefitAggregateService {

    /**
     * 获取社保公积金员工数据
     *
     * @param companyId
     * @param userId
     * @param request
     * @param authorityCode
     * @return
     */
    PageData<StaffBenefitVo> getList(String companyId, String userId, StaffBenefitRequest request, String authorityCode);

    /**
     * 保存社保公积金数据
     *
     * @param companyId
     * @param userId
     * @param benefitVos
     * @param authorityCode
     */
    void saveBenefits(String companyId, String userId, List<StaffBenefitVo> benefitVos, String authorityCode);

}
